﻿using LJ.Abstractions.Pack;
using Microsoft.Extensions.Hosting;

namespace LJ.Host.Web.Pack.Internal;

public class PackLifetime(IHostApplicationLifetime hostApplicationLifetime) : IPackLifetime
{
    private readonly IHostApplicationLifetime _hostApplicationLifetime = hostApplicationLifetime;

    public void Stop()
    {
        _hostApplicationLifetime.StopApplication();
    }
}
